var curWwwPath=window.document.location.href;
var pathName=window.document.location.pathname;
var pos=curWwwPath.indexOf(pathName);
var localhostpath=curWwwPath.substring(0,pos);
var projectName = pathName.substring(0,pathName.substr(1).indexOf('/')+1);
var basePath = localhostpath + projectName;

document.write(
    '<script src="'+basePath+'/libs/jquery.min.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/plugins/jqgrid/jquery.jqGrid.min.js"  type="text/javascript"></script>');
/*document.write(
    '<script src="'+basePath+'/plugins/layer/layer.js"  type="text/javascript"></script>');*/
/*document.write(
    '<script src="'+basePath+'/libs/bootstrap.min.js"  type="text/javascript"></script>');*/
/*document.write(
    '<script src="'+basePath+'/plugins/jqgrid/grid.locale-cn.js"  type="text/javascript"></script>');*/
/*document.write(
    '<script src="'+basePath+'/plugins/jqgrid/jquery.jqGrid.min.js"  type="text/javascript"></script>');*/
document.write(
    '<script src="'+basePath+'/plugins/ztree/jquery.ztree.all.min.js"  type="text/javascript"></script>');
/*document.write(
    '<script src="'+basePath+'/layui/layui.js"  type="text/javascript"></script>');*/
// document.write(
//     '<script src="'+basePath+'/libs/vue.min.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/lib/vue.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/lib/vue-template.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/lib/index.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/lib/axios.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/lib/qs.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/quill/quill.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/quill/vue-quill-editor.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/lib/vue-quill.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/js/common.js"  type="text/javascript"></script>');
document.write(
    '<script src="'+basePath+'/js/base2.js"  type="text/javascript"></script>');